package com.yeb.server.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户登入实体类
 */
@Data // @Getter @Setter @RequiredArgsConstructor @ToString @EqualsAndHashCode
@EqualsAndHashCode(callSuper = false) // 不采用父类的属性进行比较
@Accessors(chain = true) // setter方法返回当前对象
@ApiModel(value = "AdminLogin对象",description = "")
public class AdminLoginParam {

    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @ApiModelProperty(value = "密码",required = true)
    private String password;
    @ApiModelProperty(value = "验证码",required = true)
    private String code;
}
